package com.yxy.system.domain.vo;

import com.yxy.common.annotation.Excel;
import com.yxy.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;


/**
 * 主机分组对象 host_group
 * 
 * @author 402844673@qq.com
 * @date 2025-08-27
 */
@Setter
@Getter
public class HostGroupDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 父id */
    @Excel(name = "父id")
    private Long parentId;

    /** 组名称 */
    @Excel(name = "组名称")
    private String name;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    private List<HostGroupDto> children = new ArrayList<>();
}
